/*
 * To change this template, choose Tools | Templates and open the template in
 * the editor.
 */
package cn.eclass.entity;

/**
 *
 * @author fortruth
 */
public class GiftOrderEntity implements Entity {

    private int id;
    private int giftId;
    private int userId;
    private long ordertime;
    private String description;//This column is used for phone card number or something else.
    private int valid = 0; //default is always invalid.
    
    public int getValid() {
		return valid;
	}
    public void setValid(int valid) {
		this.valid = valid;
	}
    
    public String getDescription() {
		return description;
	}
    public void setDescription(String description) {
		this.description = description;
	}

    public long getOrdertime() {
		return ordertime;
	}

	public void setOrdertime(long ordertime) {
		this.ordertime = ordertime;
	}

	/**
     * @return the id
     */
    public int getId() {
        return id;
    }

    /**
     * @param id the id to set
     */
    public void setId(int id) {
        this.id = id;
    }

    /**
     * @return the gift_id
     */
    public int getGiftId() {
        return giftId;
    }

    /**
     * @param giftId the gift_id to set
     */
    public void setGiftId(int giftId) {
        this.giftId = giftId;
    }

    /**
     * @return the user_id
     */
    public int getUserId() {
        return userId;
    }

    /**
     * @param userId the user_id to set
     */
    public void setUserId(int userId) {
        this.userId = userId;
    }
}
